<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" href="/css/font.css">
		<link rel="stylesheet" href="/css/xadmin.css">
		<script type="text/javascript" src="/js/jquery.min.js"></script>
        <script type="text/javascript" src="/js/xadmin.js"></script>
        <script type="text/javascript" src="/lib/layui/layui.js" charset="utf-8"></script>
		<style>
			form {
				margin-top: 10px;
			}
			
		</style>
	</head>
	<body>
		<form class="layui-form" id="editTeacherForm">
			<div class="layui-form-item">
				<label class="layui-form-label"><font color="red" size="3">*</font>教师编号</label>
				<div class="layui-input-block">
					<input type="number" name="teacherNo" th:attr="value=${teacher.teacherNo}" disabled class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
                <label class="layui-form-label"><font color="red" size="3">*</font>姓名</label>
                <div class="layui-input-block">
                    <input type="text" name="teacherName" th:attr="value=${teacher.teacherName}" disabled class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label"><font color="red" size="3">*</font>身份证号</label>
                <div class="layui-input-block">
                    <input type="text" name="idNumber" th:attr="value=${teacher.idNumber}" disabled class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
			    <label class="layui-form-label"><font color="red" size="3">*</font>性别</label>
			    <div class="layui-input-block">
				  <input type="radio" name="teacherSex" value="2" title="男" th:if="${teacher.teacherSex == 2}" checked>
                  <input type="radio" name="teacherSex" value="1" title="女" th:if="${teacher.teacherSex == 1}" checked>
				</div>
			  </div>
	        <div class="layui-form-item">
               <label class="layui-form-label"><font color="red" size="3">*</font>出生日期</label>
               <div class="layui-input-block">
                   <input type="text" name="teacherBirth" th:attr="value=${#dates.format( teacher.teacherBirth, 'yyyy-MM-dd')}" disabled class="layui-input">
               </div>
            </div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>政治面貌</label>
			   <div class="layui-input-block">
			       <select name="politics" lay-verify="required">
					<option value="中共党员" th:if="${ teacher.politics == '中共党员'}" selected>中共党员</option>
                    <option value="共青团员" th:if="${ teacher.politics == '共青团员'}" selected>共青团员</option>
                    <option value="群众" th:if="${ teacher.politics == '群众'}" selected>群众</option>
				  </select>
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>民族</label>
			   <div class="layui-input-block">
			       <input type="text" name="nation" th:attr="value=${teacher.nation}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>籍贯</label>
			   <div class="layui-input-block">
			       <input type="text" name="homeplace" th:attr="value=${teacher.homeplace}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label">毕业学校</label>
			   <div class="layui-input-block">
			       <input type="text" name="graduateSchool" th:attr="value=${teacher.graduateSchool}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>入校日期</label>
			   <div class="layui-input-block">
			       <input type="text" name="startTime" th:attr="value=${#dates.format( teacher.startTime, 'yyyy-MM-dd')}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label"><font color="red" size="3">*</font>学历</label>
			   <div class="layui-input-block">
			       <select name="graduateStatus" lay-verify="required">
						<option value="专科" th:if="${teacher.graduateStatus == '专科'}" selected>专科</option>
	                    <option value="本科" th:if="${teacher.graduateStatus == '本科'}" selected>本科</option>
	                    <option value="硕士研究生" th:if="${teacher.graduateStatus == '硕士研究生'}" selected>硕士研究生</option>
	                    <option value="博士研究生" th:if="${teacher.graduateStatus == '博士研究生'}" selected>博士研究生</option>
			       </select>
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label">通讯地址</label>
			   <div class="layui-input-block">
			       <input type="text" name="address" th:attr="value=${teacher.address}" disabled class="layui-input">
			   </div>
			</div>
			<div class="layui-form-item">
			   <label class="layui-form-label">备注</label>
			   <div class="layui-input-block">
			       <textarea name="remark1" th:text="${teacher.remark1}" disabled class="layui-textarea"></textarea>
			   </div>
			</div>
		</form>
	</body>
</html>
